Skip to contentSkip to conversation

x11-libs/libdrm-2.4.83: fatal error: uve_ib.h: No such file or directory

Bug 102391 [email protected] 1 participant 2 messages Aug 24, 2017 – Aug 30, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=102391

            Bug ID: 102391
           Summary: x11-libs/libdrm-2.4.83: fatal error: uve_ib.h: No such
                    file or directory
           Product: DRI
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 133754
--> https://bugs.freedesktop.org/attachment.cgi?id=133754&action=edit
build.log

WIth the source tarball from https://dri.freedesktop.org/libdrm/${P}.tar.bz2, I get, on a Gentoo system:

(...)
Making all in radeon
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I /var/tmp/portage/x11-libs/libdrm-2.4.83/work/libdrm-2.4.83/include/drm -I /var/tmp/portage/x11-libs/libdrm-2.4.83/work/libdrm-2.4.83 -O2 -march=native -pipe -fomit-frame-pointer -Wl,-O1 -o .libs/radeon_ttm rbo.o radeon_ttm.o -Wl,--as-needed ../../.libs/libdrm.so -lm
Making all in amdgpu /var/tmp/portage/x11-libs/libdrm-2.4.83/work/libdrm-2.4.83/tests/amdgpu/basic_tests.c:
In function ‘amdgpu_userptr_test’:
/var/tmp/portage/x11-libs/libdrm-2.4.83/work/libdrm-2.4.83/tests/amdgpu/basic_tests.c:1369:2:
warning: ignoring return value of ‘posix_memalign’, declared with attribute warn_unused_result [-Wunused-result]
posix_memalign(&ptr, sysconf(_SC_PAGE_SIZE), BUFFER_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/x11-libs/libdrm-2.4.83/work/libdrm-2.4.83/tests/amdgpu/uvd_enc_tests.c:39:20:
fatal error: uve_ib.h: No such file or directory

 #include "uve_ib.h"
                    ^

compilation terminated.
make[3]: *** [amdgpu_test-uvd_enc_tests.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1

Full build log in attachment

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=102391

Matt Turner <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         QA Contact|                            |[email protected]
                   |                            |.org
           Assignee|[email protected] |[email protected]
                   |.org                        |
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #1 from Matt Turner <[email protected]> --- This is because the headers added in

commit 9d133dd08720d80dfc8ce098bf0972ebd05c454d

Author: Boyuan Zhang <[email protected]>
Date:   Tue Aug 15 11:33:43 2017 -0400

tests/amdgpu: add uvd encode unit tests

were not added to the relevant _SOURCES variable, so they were not included in the tarball by make dist.

It wasn't caught by make distcheck because of the "automagic" dependency on cunit. The tests are silently disabled if cunit is not found.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel